
package ija.model.players;

import ija.model.types.Color;
import ija.model.types.Direction;

/**
 *
 * @author Radek Necas, xnecas18
 */
public abstract class Player {
    
    String name;
    Color color;
    Direction direction;
    
    public Player(String name, Color color, Direction direction) {
        this.name = name;
        this.color = color;
        this.direction = direction;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getName() {
        return name;
    }
    
}
